﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="QuShuiJHCX.aspx.cs" Inherits="Web.Pages.QuShui.DiXiaS.ChaXunGL.QuShuiJHCX" Theme="Default"  %>


<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="../../../../JS/jquery.js" type="text/javascript"></script>
    <script src="../../../../JS/AddEditCancel.js" type="text/javascript"></script>
    <link href="../../../../css/inputBgColor.css" rel="stylesheet" />
    <style type="text/css">
        body, html {
            padding: 0;
            margin: 0;
            font-size:12px;
        }

        #img table tr td div {
            cursor: pointer;
        }


    </style>
    <script type="text/javascript">
        $(function () {
            var height = Math.max(0, document.documentElement.clientHeight) - 90;
            // $("#condition").css("height", height);
        });


    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <div class="tabletitle1" align="center">
            取水计划查询
        </div>
        <%--<div style="display: none;">
            <dx:ASPxHiddenField ID="hdCollection" ClientInstanceName="hdCollection" runat="server"></dx:ASPxHiddenField>
            <dx:ASPxCallback ID="ASPxCallback1" ClientInstanceName="ASPxCallback1" runat="server" OnCallback="ASPxCallback1_Callback" ClientSideEvents-CallbackComplete="function(s,e){ASPxCallback1Complete(e.result);}"></dx:ASPxCallback>
        </div>--%>
        <asp:UpdatePanel ID="updatePanel1" runat="server">
            <ContentTemplate>
                <div>
                    <div style="border: 1px solid #d0e4fe">
                        <table>
                            <tr>
                                <td style="width: 7%;"><span style="font-size: 12px;">水量年：</span></td>
                                <td>
                                    <dx:ASPxComboBox runat="server" ID="cmbYear" Width="100%">
                                    </dx:ASPxComboBox>
                                </td>

                                <td>&nbsp;</td>
                               
                               <td>&nbsp;&nbsp;</td>
                                <td>
                                    <dx:ASPxLoadingPanel runat="server" ID="LoadPanel11" ClientInstanceName="LoadPanel" Text="正在查询"></dx:ASPxLoadingPanel>
                                    <dx:ASPxButton runat="server" ID="btnChaXun" Text="查询" OnClick="btnChaXun_Click" UseSubmitBehavior="false">
                                        <ClientSideEvents Click="function(s,e){LoadPanel.Show();}"/>
                                    </dx:ASPxButton>
                                </td>
                                <td>
                                    <dx:ASPxButton ID="btnExport2" runat="server" Text="导出EXCEL" UseSubmitBehavior="false">
                                        <ClientSideEvents Click="function(s,e){btnExport.OnClick();}" />
                                    </dx:ASPxButton>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div>
                        <dx:ASPxGridView ID="gvGridTab1" ClientInstanceName="gvGridTab1" runat="server" AutoGenerateColumns="False" KeyFieldName="ID"
                            ClientIDMode="AutoID" Settings-ShowVerticalScrollBar="true" Width="100%" EnableCallBacks="true" SettingsBehavior-AllowSort="true">
                            <Columns>
                                <dx:GridViewDataTextColumn FieldName="" Caption="取水口号" Width="10%">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="" Caption="取水口名" Width="30%">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="S_YONGHUH" Caption="用户号" Width="10%">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="S_YONGHUM" Caption="用户名" Width="30%">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="" Caption="取水计划量" Width="15%">
                                </dx:GridViewDataTextColumn>
                            </Columns>
                            <Settings VerticalScrollBarMode="Visible" HorizontalScrollBarMode="Auto" VerticalScrollableHeight="500" />
                            <SettingsPager Mode="EndlessPaging" PageSize="100" />
                            <Settings ShowFooter="True" />
                            <SettingsBehavior AllowFocusedRow="True"  ColumnResizeMode="Control" />
                            <SettingsBehavior ProcessFocusedRowChangedOnServer="false" />
                            <%--<ClientSideEvents Init="function(s,e){AdjustSize(300,gvGridTab1);}" />--%>
                        </dx:ASPxGridView>
                    </div>
                    <br />
                    <hr />
                    <div>
                        <table style="text-align: right; width: 100%;">
                            <tr>
                                <td style="width: 100px;"><span style="font-size: 12px;">取水计划总量：</span></td>
                                <td style="width: 120px;">
                                    <dx:ASPxTextBox runat="server" ID="txtZongLiangTab1" Width="80%" ClientInstanceName="txtZongLiangTab1"></dx:ASPxTextBox>
                                </td>
                                <td>
                                    <dx:ASPxLabel ID="zjlTab1" Text="共0条" runat="server" ForeColor="Blue"></dx:ASPxLabel>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>

        <div style="display: none;">
            <dx:ASPxGridViewExporter ID="ASPxGridViewExporter1" runat="server"></dx:ASPxGridViewExporter>
            <dx:ASPxButton ID="btnExport" runat="server" ClientInstanceName="btnExport" Text="导出EXCEL" OnClick="btnExport_Click" UseSubmitBehavior="false">
            </dx:ASPxButton>
        </div>
    </form>
</body>
</html>
